package com.falser.parking;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {
        "com.falser.parking.*",
        "com.falser.common.*"
})
@MapperScan(basePackages = {"com.falser.parking.dao"})
@RefreshScope
public class FalserParkingApplication {

    public static void main(String[] args) {
        SpringApplication.run(FalserParkingApplication.class, args);
    }

}
